

namespace App\Error\{{$projectName}};

use App\Error\BaseError;

/**
* @datetime {{$dateTime}}
* @author   system
* @project  {{$projectModel->enName}}
* @projectDesc  {{$projectModel->cnName}}
* @module   {{$projectModuleModel->enName}}
* @moduleDesc   {{$projectModuleModel->cnName}}
*/
class {{$moduleName}}Error extends BaseError
{

@foreach ($moduleError as $error)
    /**
    * @var  array
    * @cnMessage  {{$error->errorCnDesc}}
    * @enMessage  {{$error->errorEnDesc}}
    */
    const  {{$error->errorKey}} = [
        "code"  => {{$error->fullCode}},
        "cn"    => "{{$error->errorCnDesc}}",
        "en"    => "{{$error->errorEnDesc}}"
    ];

@endforeach


}
